package com.lanou3g.ptp.signInDate.service;



import com.lanou3g.ptp.entity.SignInDate;

import java.util.ArrayList;
import java.util.List;


public interface SignInDateService {
    //查询所有
    List<SignInDate> findAll(Integer page,Integer size);

    //按id查询
    SignInDate findById(Long id);
    //增加
    void insert(ArrayList<SignInDate> signInDates);

    //删除单个
    void delete(Long id);

    void deleteByTaskId(Long taskId);
    //删除多个
    void deletes(Long[] ids);

    //修改
    void update(Long id,SignInDate signInDate);

    //通过任务ID查询签到时间
    List<SignInDate> findSignTime(Long taskId);

    void deletesByTaskIds(Long[] ids);
}
